-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SplineBuilder doc #409
SplineBuilder doc #409
Conversation
…tion/ddc into clarify-spline-names
Co-authored-by: EmilyBourne <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work. Thanks for making all the changes
* @param x The SplineBuilder being copied. | ||
* @returns A reference to this object. | ||
* @param x An rvalue to another SplineBuilder. | ||
* @return A reference to the moved SplineBuilder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it x
that is "moved" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to the SplineBuilder once moved
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tpadioleau I think this is the last remaining comment here, to me something can be qualified as "moved" only once it has been moved, and only the moved thing not the remaining empty place where it comes from. But this is a bit too philisophical to me so please suggest something if you don't agree ^^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would keep the original doc on the return section. The reference is really on the object *this
, not the object that has been moved, x
.
* The temporary SplineBuilder2D being copied. | ||
* @returns A reference to this object. | ||
* @param x An rvalue to another SplineBuilder. | ||
* @return A reference to the moved SplineBuilder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same problem here
Co-authored-by: Thomas Padioleau <[email protected]>
Co-authored-by: Thomas Padioleau <[email protected]>
No description provided.